package crudfx.container;
import javax.swing.*;
import java.awt.*;
/**
 * @profile desktop
 * @author Sergey Surikov
 */
public class PanelTool extends JPanel{
    public boolean real=false;
    public int realX=0;
    public int realY=0;
    public PanelTool(boolean doubleBuffering){
        super(doubleBuffering);
        }
    public Point getLocationOnScreen(){
        Point point=super.getLocationOnScreen();
        if(real){
            point=new Point(realX,realY);
            //System.err.println(point);
            }        
        return point;
    }
}
